<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>查看个人档案</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <link rel="stylesheet" href="/static/layui-v2.5.7/layui/css/layui.css"  media="all">
  <!-- 注意：如果你直接复制所有代码到本地，上述css路径需要改成你本地的 -->
</head>


<body>
<ul class="layui-nav">
    <li class="layui-nav-item"><a href="/jump3">主页</a></li>
  <li class="layui-nav-item"><a href="/searchWorkerEvaluator">个人评价</a></li>
  <li class="layui-nav-item">
    <a href="javascript:;">个人信息</a>
    <dl class="layui-nav-child">
      <dd><a href="/createWorkerInfo">创建</a></dd>
        <dd><a href="/updateWorkerInfo">修改</a></dd>
        <dd><a href="/showWorkerInfo">查看</a></dd>
    </dl>
  </li>
  <li class="layui-nav-item"><a href="/shen_zhaopinxinxi2">招聘信息</a></li>

    <li class="layui-nav-item layui-col-md-offset8" lay-unselect="">
        <div><img src="/static/img/pimg2.jpg" class="layui-nav-img">{{ u }}</div>
        <dl class="layui-nav-child">
            <dd><a href="/">登出</a></dd>
        </dl>
    </li>
</ul>

<script src="/static/layui-v2.5.7/layui/layui.js" charset="utf-8"></script>
<!-- 注意：如果你直接复制所有代码到本地，上述js路径需要改成你本地的 -->
<script>
layui.use('element', function(){
  var element = layui.element; //导航的hover效果、二级菜单等功能，需要依赖element模块

  //监听导航点击
  element.on('nav(demo)', function(elem){
    //console.log(elem)
    layer.msg(elem.text());
  });
});
</script>
<script>
layui.use('form', function(){
  var form = layui.form; //只有执行了这一步，部分表单元素才会自动修饰成功
  //但是，如果你的HTML是动态生成的，自动渲染就会失效
  //因此你需要在相应的地方，执行下述方法来进行渲染
  form.render();
});
</script>
<script>
layui.use('laydate', function(){
  var laydate = layui.laydate;

  //执行一个laydate实例
  laydate.render({
    elem: '#birthday' ,//指定元素
      type: 'date'//年月日，也是默认，不要这个也可以
  });
});
</script>

<!-- 防止查看源代码 -->
<script type="text/javascript">
    window.onload = function(){
	    //屏蔽键盘事件
	    document.onkeydown = function (){
	        var e = window.event || arguments[0];
	        //F12
	        if(e.keyCode == 123){
	            return false;
                //Ctrl+Shift+I
            }else if((e.ctrlKey) && (e.shiftKey) && (e.keyCode == 73)){
                return false;
                //Shift+F10
            }else if((e.shiftKey) && (e.keyCode == 121)){
                return false;
                //Ctrl+U
            }else if((e.ctrlKey) && (e.keyCode == 85)){
                return false;
            }
        };
        //屏蔽鼠标右键
        document.oncontextmenu = function (){
            return false;
        }
    }
</script>
<!-- 防止查看源代码结束 -->

<div style="padding: 20px; background-color: #F2F2F2;">

<form class="layui-form" action="" style="width: 60%;margin-top: 20px;">
    <fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
  <legend>查看个人档案</legend>
</fieldset>
<br>
    <br>
<fieldset class="layui-elem-field">
  <legend>基本信息</legend>
  <div class="layui-field-box">
      姓名：&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{{ name }}<br><br>
      性别：&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{{ sex }}<br><br>
    出生年月：{{ birthday }}<br><br>
    现居地：&nbsp;&nbsp;&nbsp;&nbsp;{{ city }}<br><br>
    电话：&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{{ tel }}<br><br>
    电子邮箱：{{ email }}<br><br>
  </div>
</fieldset>
<br><br>
<fieldset class="layui-elem-field">
  <legend>就业情况</legend>
  <div class="layui-field-box">
      工作状态：{{ workstate }}<br><br>
      所属企业：{{ cname }}<br><br>
  </div>
</fieldset>
<br><br>
<fieldset class="layui-elem-field">
  <legend>教育背景</legend>
  <div class="layui-field-box">
      专业：&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{{ major }}<br><br>
      毕业院校：{{ school }}<br><br>
      学历：&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{{ education }}<br><br>
  </div>
</fieldset>
<br><br><br>
</form>

</div>
</body>
</html>